Skip to content

Conversation

@bmastbergen
Copy link
Collaborator

This is a helper script for running kselftests against a kernel under test. It attempts to install the appropriate dependencies for different versions of Rocky Linux and attempts to run appropriate tests, with appropriate permissions, for a few select kernel versions.

This is just a starting point. Hopefully this continues to evolve, increasing the number of successful that can reliably be run.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a comprehensive helper script for running kernel self-tests (kselftests) against different kernel versions on Rocky Linux systems. The script automates dependency installation and test execution with appropriate permissions.

  • Implements version-specific dependency installation for Rocky Linux 8, 9, and 10
  • Provides kernel version-specific test configurations with different target sets and skip lists
  • Includes automated test execution with both regular and sudo permissions for different test categories

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ciq-it-service-account
Copy link

ciq-it-service-account commented Sep 30, 2025

🎉 Snyk checks have passed. No issues have been found so far.

code/snyk check is complete. No issues have been found. (View Details)

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 6 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@bmastbergen bmastbergen force-pushed the kernel_kselftest branch 4 times, most recently from ea2fbeb to ca4912e Compare October 3, 2025 17:08
@roxanan1996
Copy link
Contributor

Minor question: do we need to add a Signed-off -by for all commits? Or is it just for the kernel sources?
Personally, I am so used to checking Signed-off-by everywhere, so I would encourage people to use it everywhere.
This can be achieved by using git commit -s.

@bmastbergen
Copy link
Collaborator Author

Minor question: do we need to add a Signed-off -by for all commits? Or is it just for the kernel sources? Personally, I am so used to checking Signed-off-by everywhere, so I would encourage people to use it everywhere. This can be achieved by using git commit -s.

No, we haven't stipulated sign-offs for any repos other than the kernel. Certainly doesn't hurt though.

This is a helper script for running kselftests against a kernel
under test.  It attempts to install the appropriate dependencies
for different versions of Rocky Linux and attempts to run appropriate
tests, with appropriate permissions, for a few select kernel versions.

This is just a starting point.  Hopefully this continues to evolve,
increasing the number of successful that can reliably be run.
Copy link
Contributor

@roxanan1996 roxanan1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@bmastbergen bmastbergen merged commit c30d4b4 into mainline Nov 7, 2025
@bmastbergen bmastbergen deleted the kernel_kselftest branch November 7, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants